package dgut.party.business.dto.vo;

import dgut.party.business.common.enumeration.Gender;
import dgut.party.business.entity.base.Account;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import org.springframework.beans.BeanUtils;

@Getter
@Setter
@NoArgsConstructor
public class AccountVo {

  public AccountVo(Account account) {
    BeanUtils.copyProperties(account, this);
  }


  protected String type;

  protected boolean enabled;

  protected String username;

  protected String realName;

  protected Gender gender;

  protected String phone;

  protected String weixin;

  protected String qq;

  protected String avatar;
}
